//准备数据
var arr4 = ['x','y','z'];

for(const item of arr4){
    console.log(item)

}

var map4 = new Map();
map4.set("a","1111");
map4.set("b","2222");
map4.set("c","3333");

for (const [k,v] of map4){
    console.log("k = "+k+" v= "+v)
}


var set4 = new Set();
set4.add("m");
set4.add("n");
set4.add("L");


for(const item of  set4){

console.log('iterm',item)

}


var obj4 = {
    name : "jack",
    password : "1234"
}


for(const k of Object.keys(obj4)){

console.log(k+" "+obj4[k])

} 


for(const[k,v] of Object.entries(obj4)){
    console.log(k+" ------ "+v)
}








